<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="/WEB-INF/taglib.jsp" %>
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta name="renderer" content="ie-comp">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>导入</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <!-- 自定义icon -->
    <script type="text/javascript" src="/common-web/resource/js/common/ajaxfileupload.js"></script>
    <script type="text/javascript">
        var path = "<%=path%>";
        var excelCode = "${excelCode}";
    </script>
</head>
<body style="margin:0px; padding:0px;">
<%@ include file="/WEB-INF/jsp/loading.jsp" %>
<div>
    <form id="fileForm" method="post" enctype="multipart/form-data">
        <table style="margin:10px auto auto auto" cellpadding="5px" cellspacing="2px">
            <tr style="height:40px;">
                <th style="text-align:left;padding-left:8px;color:#FF0000;" colspan="2">*如果您还没有导入模板，请先下载模板填写后再导入</th>
            </tr>
            <tr>
                <td align="left">模板下载：<input  class="search-btn-blue" style="margin-left:5px" type="button" onclick="btnXls();" value="下载"/></td>
            </tr>
            <tr>
                <td align="left">文&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;件：<input id="file" name="file" type="file" style="margin-left:5px ; width:250px;"
                           accept="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"></input>
                </td>
            </tr>
        </table>
        <table style="margin:20px auto auto auto" cellpadding="5px" cellspacing="2px">
            <tr >
                <td align="center"><input  class="search-btn-blue" style="margin-left:70px" type="button" onclick="btn_import_ok_click();" value="导入"/>
                    <input   class=" search-btn-blue" style="margin-left:5px" type="button" onclick="btnReset();" value="取消"/>
                </td>
            </tr>
        </table>
    </form>
</div>
<iframe src="" frameborder="0" style="display:none;" id="hidden_iframe"></iframe>
<script type="text/javascript" src="<%=path%>/resource/js/system/importdefine/excelImport.js?time=<%=Math.random()%>"></script>
</body>
</html>